package com.spring.security.web.model;

import java.math.BigDecimal;


/**
 * 用户模型
 * 
 * @author wjy
 * @since 2014年7月5日 下午12:07:20
 **/
public class User {
    private String id;

    private String username;

    private String password;

    private String state;

    private String createTime;

    private String phone;

    private String email;

    private String real_name;
    
    private String token;
    
    private String image_src;
    
    private String sex;
    
    private String identity_card;
    
    private BigDecimal wx_point;
    
    private String kids_parkid;//所属乐园
    
    private String t_user_id;
    private String t_username;
    private String admission_way;
    private String admission_note;
    private String admission_way_id;
    private String regionid;
    
    public String getReal_name() {
		return real_name;
	}
	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}
	public String getRegionid() {
		return regionid;
	}
	public void setRegionid(String regionid) {
		this.regionid = regionid;
	}
	public String getKids_parkid() {
		return kids_parkid;
	}
	public void setKids_parkid(String kids_parkid) {
		this.kids_parkid = kids_parkid;
	}
	public String getT_user_id() {
		return t_user_id;
	}
	public void setT_user_id(String t_user_id) {
		this.t_user_id = t_user_id;
	}
	public String getT_username() {
		return t_username;
	}
	public void setT_username(String t_username) {
		this.t_username = t_username;
	}
	public String getAdmission_way() {
		return admission_way;
	}
	public void setAdmission_way(String admission_way) {
		this.admission_way = admission_way;
	}
	public String getAdmission_note() {
		return admission_note;
	}
	public void setAdmission_note(String admission_note) {
		this.admission_note = admission_note;
	}
	public String getAdmission_way_id() {
		return admission_way_id;
	}
	public void setAdmission_way_id(String admission_way_id) {
		this.admission_way_id = admission_way_id;
	}
	public BigDecimal getWx_point() {
		return wx_point;
	}
	public void setWx_point(BigDecimal wx_point) {
		this.wx_point = wx_point;
	}
	public String getIdentity_card() {
		return identity_card;
	}
	public void setIdentity_card(String identity_card) {
		this.identity_card = identity_card;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getImage_src() {
		return image_src;
	}
	public void setImage_src(String image_src) {
		this.image_src = image_src;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public User() {

    }
    public User(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    @Override
    public String toString() {
        return "User [id=" + id + ", username=" + username + ", password=" + password + ", state=" + state + ", createTime=" + createTime + "]";
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}